<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./5.css">
</head>
<body>
    <!-- 两栏布局 -->
    <!--2. 一边固定，另外一边自适应 -->
    <div class="aside"></div>
    <div class="main"></div>
    <!-- 2.absolute定位加margin-left（右边自适应） -->
    <div class="wrap">
        <div class="aside"></div>
        <div class="main"></div>
    </div>
</body>
</html>